//测试环境
// 14404000001 123456
// businessNo: 104912
let testUrl = {
	commonBaseUrl: "",
	ssoUrl: "https://sfapi.hsy884.com/api/",
	baseUrl: "https://sfapi.hsy884.com/api/",
	baseImgUrl: "https://oss.hsy884.com",
	type: 0, //测试环境表示
}
// apitest.hct8090.com  沪材通测试地址 
//正式环境
// 15905710001
// 710001
// ssoUrl: "https://BtoBWebApi.hsy884.com/api/",
// baseUrl: "https://BtoBWebApi.hsy884.com/api/",
// let releaseUrl = {
//     commonBaseUrl: "",
//     ssoUrl: "https://webapi.hcpgyl.com/api/",
//     baseUrl: "https://webapi.hcpgyl.com/api/",
//     baseImgUrl: "https://oss.hsy884.com",
//     type: 1, //正式环境表示
// }

// 云链商
// 19979791002 791002
// 高德安卓key：a3d092d1b1d77b0a0ebd6f885681a8ad
// let releaseUrl = {
//     commonBaseUrl: "",
//     ssoUrl: "https://webapi.yunlianshang.net/api/",
//     baseUrl: "https://webapi.yunlianshang.net/api/",
//     baseImgUrl: "https://oss.hsy884.com",
//     type: 1, //正式环境表示
// }

// 正诚
// 15869020335  020335
// 18060477273  477273
// 18694933483  933483 
// 18694933483 123456
// 包名：admin_mghl_android
// 高德安卓key：b41c3efdde6ddc5d0b5f102ffcf52196
// businessNo: 105377
let releaseUrl = {
    // commonBaseUrl: "",
    // ssoUrl: "https://zcapi.zcbz.vip/api/",
    baseUrl: "https://hwebapi.huixiaoke.net/",
    // baseImgUrl: "https://zcoss.zcbz.vip",
    type: 1, //正式环境表示
}

// 惠销客 销客赢家 1.0.1
// 18305983898  983898
// 18305983856
// 15100008001  008001
// 客户账号：18060477273  123123
// 业务员账号：13788825765 123123
// 高德安卓key： 87c5b6902aaaf62c5f465a0f6230399e
// 包名 admin.huixiaoke.net
// let releaseUrl = {
//     commonBaseUrl: "",
//     ssoUrl: "https://webapi.huixiaoke.net/api/",
//     baseUrl: "https://webapi.huixiaoke.net/api/",
//     baseImgUrl: "https://obs.huixiaoke.net",
//     type: 1, //正式环境表示
// }

//吾爱酒
// let releaseUrl = {
// 	commonBaseUrl:'',
// 	ssoUrl: "https://wajbapi.hsy884.com/api/",
// 	baseUrl : "https://wajbapi.hsy884.com/api/",
// 	baseImgUrl : "https://oss.hsy884.com",
// 	type:1,//正式环境表示
// }
//同祥德
// let releaseUrl = {
// 	commonBaseUrl:'',
// 	ssoUrl: "https://b2bapi.txdsm.com/api/",
// 	baseUrl : "https://b2bapi.txdsm.com/api/",
// 	baseImgUrl : "https://oss.txdsm.com",
// 	type:1,//正式环境表示
// }
let useUrl = releaseUrl

let commonBaseUrl = useUrl.commonBaseUrl
let ssoUrl = useUrl.ssoUrl
let baseUrl = useUrl.baseUrl
let basePublicUrl = useUrl.baseUrl

//TODO 去掉该配置，改为读取下发
let baseImgUrl = useUrl.baseImgUrl

let wxAppID = ""
let aMapKey = {
    web: "b1b62eca1b45e2d69dd1b05359dcb3c5",
    wx: "cfc434125f0fccd2553e9e4e572c2810",
}
let WxAccountId = 0
let token = ""
let hotline = "4008884884"
let version = "V2.0.58"
let platform = {
    mp: "MINIAPPWX",
    h5: "",
    wx: "WX",
}

let appSet = {
    appName: "芒果红了",
    // appName: "销客赢家",
    // appName: "芒果红了",
    appIds: {
        // android: "admin.huixiaoke.net",
        // android: "com.adminapp.hct",
        android: "com.adminapp.yls",
        ios: "com.haoshiyong.yunlianshang", //红菜盘苹果用的公版管理端
    },
    isHideImg: false,
    isHideProDetail: false,
    isOneSpec: false,
    isCustomUnit: false,
    IsProListShowSock: true,
    canEditAddress: true,
    homeBottomTabBar: [
        {
            id: 3,
            name: "workbench",
            text: "首页",
            icon: "/static/icon/icon_home_1.png",
            iconCurrent: "/static/icon/icon_home_2.png",
            isShow: true,
        },
        {
            id: 2,
            name: "customer",
            text: "客户",
            icon: "/static/icon/icon_customer_1.png",
            iconCurrent: "/static/icon/icon_customer_2.png",
            isShow: true,
        },
         {
            id: 3,
            name: "notice",
            text: "消息",
            icon: "/static/icon/icon_notice_1.png",
            iconCurrent: "/static/icon/icon_notice_2.png",
            isShow: true,
        },
        {
            id: 4,
            name: "order",
            text: "订单",
            icon: "/static/icon/icon_order_1.png",
            iconCurrent: "/static/icon/icon_order_2.png",
            isShow: true,
        },
        {
            id: 4,
            name: "product",
            text: "商品",
            icon: "mine",
            isShow: false,
        },
        // {
        //     id: 6,
        //     name: "erp",
        //     text: "报表",
        //     icon: "/static/icon/icon_erp_1.png",
        //     iconCurrent: "/static/icon/icon_erp_2.png",
        //     isShow: false,
        // },
        {
            id: 5,
            name: "mine",
            text: "我的",
            icon: "/static/icon/icon_me_1.png",
            iconCurrent: "/static/icon/icon_me_2.png",
            isShow: true,
        },
    ],
}

export default {
    useUrl,
    testUrl,
    releaseUrl,
    commonBaseUrl,
    ssoUrl,
    baseUrl,
    basePublicUrl,
    baseImgUrl,
    wxAppID,
    token,
    hotline,
    WxAccountId,
    platform,
    aMapKey,
    appSet,
    version,
}
